package com.jctrip.hotel.source.model.CnBooking.req;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zxy
 * @CreateTime: 2023-08-21 21:00
 * @Description:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ValiadRoomStatusReq extends BaseRequest implements Serializable {
    @JacksonXmlElementWrapper(localName = "SearchConditions")
    @JacksonXmlProperty(localName = "SearchConditions")
    private BookingConditions searchConditions;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class BookingConditions {
        @JacksonXmlProperty(localName = "HotelId")
        private String hotelId;
        @JacksonXmlProperty(localName = "RoomId")
        private String roomId;
        @JacksonXmlProperty(localName = "RateplanId")
        private String rateplanId;
        @JacksonXmlProperty(localName = "CheckIn")
        private String checkIn;
        @JacksonXmlProperty(localName = "CheckOut")
        private String checkOut;
        @JacksonXmlProperty(localName = "RoomCount")
        private String roomCount;
        @JacksonXmlProperty(localName = "Currency")
        private String currency;
        @JacksonXmlProperty(localName = "OrderAmount")
        private String orderAmount;
    }
}
